*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Weifang';
  src: url('./fonts/weifang.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Weifang', sans-serif;
}

.App {
  position: relative;
  padding: 20px;
  position: relative;
  min-height: 50em;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  max-width: 100vw;
}

.create-event-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  background-color: #ff4757;
  color: white;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.create-event-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 71, 87, 0.5);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.create-event-btn {
  animation: pulse 2s infinite;
}

.create-event-btn:hover {
  background-color: #3a80d2;
  transform: translateY(-1px);
}

.create-event-btn:active {
  transform: translateY(0);
}

/* 防止页面横向滚动 */



/* 防止页面横向滚动 */
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.heatmap-container {
  width: 100%;
  height: 50%;
  font-size: 4px;
  box-sizing: border-box;
}